/*
 * Copyright (c) 2017, www.zm0618.com All Rights Reserved..
 */

package com.light.hessian.exporter.registry.config;

import com.light.hessian.exporter.registry.config.ServiceRegistryConfig;

/**
 * Created by zhaojun on 2017/02/17.
 */
public class ConsulRegistryExportConfig extends ServiceRegistryConfig {
    private String prefixPath;
    private String transProtocol;
    private String token;

    private String healthCheck;
    private String healthCheckInterval;
    private String healthCheckTimeout;

    private String address;
    private int port;
    private String protocol;

    private boolean  isReportStatus;
    private int reportInterval; //second


    public String getTransProtocol() {
        return transProtocol;
    }

    public void setTransProtocol(String transProtocol) {
        this.transProtocol = transProtocol;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getHealthCheck() {
        return healthCheck;
    }

    public void setHealthCheck(String healthCheck) {
        this.healthCheck = healthCheck;
    }

    public boolean isReportStatus() {
        return isReportStatus;
    }

    public void setReportStatus(boolean reportStatus) {
        isReportStatus = reportStatus;
    }

    public int getReportInterval() {
        return reportInterval;
    }

    public String getHealthCheckInterval() {
        return healthCheckInterval;
    }

    public void setHealthCheckInterval(String healthCheckInterval) {
        this.healthCheckInterval = healthCheckInterval;
    }

    public void setReportInterval(int reportInterval) {
        this.reportInterval = reportInterval;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getPrefixPath() {
        return prefixPath;
    }

    public void setPrefixPath(String prefixPath) {
        this.prefixPath = prefixPath;
    }

    public String getHealthCheckTimeout() {
        return healthCheckTimeout;
    }

    public void setHealthCheckTimeout(String healthCheckTimeout) {
        this.healthCheckTimeout = healthCheckTimeout;
    }
}
